package com.ruoyi.driver.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机管理对象 vehicle_driver
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public class VehicleDriver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 司机主键 */
    private Long id;

    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private String driverName;

    /** 司机性别（0男1女2未知） */
    @Excel(name = "司机性别", readConverterExp = "0=男1女2未知")
    private String sex;

    /** 司机手机号 */
    @Excel(name = "司机手机号")
    private String driverPhone;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String driverIdNumber;

    /** 司机编号 */
    @Excel(name = "司机编号")
    private String driverNum;

    /** 司机肖像照 */
    @Excel(name = "司机肖像照")
    private String driverPortrait;

    /** 身份证正面照 */
    @Excel(name = "身份证正面照")
    private String idCardFrontPhoto;

    /** 身份证反面照 */
    @Excel(name = "身份证反面照")
    private String idArdBackPhoto;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 删除标识 */
    private String delFlag;

    /** 司机状态 */
    @Excel(name = "司机状态")
    private String driverStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setDriverPhone(String driverPhone) 
    {
        this.driverPhone = driverPhone;
    }

    public String getDriverPhone() 
    {
        return driverPhone;
    }
    public void setDriverIdNumber(String driverIdNumber) 
    {
        this.driverIdNumber = driverIdNumber;
    }

    public String getDriverIdNumber() 
    {
        return driverIdNumber;
    }
    public void setDriverNum(String driverNum) 
    {
        this.driverNum = driverNum;
    }

    public String getDriverNum() 
    {
        return driverNum;
    }
    public void setDriverPortrait(String driverPortrait) 
    {
        this.driverPortrait = driverPortrait;
    }

    public String getDriverPortrait() 
    {
        return driverPortrait;
    }
    public void setIdCardFrontPhoto(String idCardFrontPhoto) 
    {
        this.idCardFrontPhoto = idCardFrontPhoto;
    }

    public String getIdCardFrontPhoto() 
    {
        return idCardFrontPhoto;
    }
    public void setIdArdBackPhoto(String idArdBackPhoto) 
    {
        this.idArdBackPhoto = idArdBackPhoto;
    }

    public String getIdArdBackPhoto() 
    {
        return idArdBackPhoto;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setDriverStatus(String driverStatus) 
    {
        this.driverStatus = driverStatus;
    }

    public String getDriverStatus() 
    {
        return driverStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driverName", getDriverName())
            .append("sex", getSex())
            .append("driverPhone", getDriverPhone())
            .append("driverIdNumber", getDriverIdNumber())
            .append("driverNum", getDriverNum())
            .append("createTime", getCreateTime())
            .append("driverPortrait", getDriverPortrait())
            .append("idCardFrontPhoto", getIdCardFrontPhoto())
            .append("idArdBackPhoto", getIdArdBackPhoto())
            .append("avatar", getAvatar())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("driverStatus", getDriverStatus())
            .toString();
    }
}
